Fix to releases on PyPI - #569
Conversation
|
As @AkshatRai07 suggested in #568 (comment) perhaps best to first try to see whether this works |
I thought it'd just require a change in some PyPI settings, but it did require an actual change to the files. Fortunately, we can run workflow again with providing a tag variable now after merging this PR, no need to wait for a tag push. I'll change the |
|
@scarlehoff if I'm not wrong, |
tbh, I could've also removed the environment there, but I liked the option of adding the environment best.
Yes! |
good we can bring #561 to good use
just to make sure one is not relying on the other to act: @AkshatRai07 can you please take care? |
|
Aaaha, it seems Github has already recorded the most relevant information for me. Here is more information:
only slightly related (and could have been part of #561 🙈 ): we should update some of the On second thought ... fixing failing workflows is quite handy for debugging, but it is also quite dangerous, sine you can make up anything ... I'm no longer 100% convinced this is a good idea 🙈 |
Someone the trusted publisher is not there for
What do you mean? |
It worked: https://pypi.org/project/eko-rs/
it's a classic case of "with great power, comes great responsibility" 🕸️ e.g. here I could now "posthumously" release 0.15.6, which is sane since nothing happened since the true tag. But I could have also added a new feature (now or in the future) and could still call it "0.15.6" although this would be not correct. Should I worry or rely on "we are adults here"? |
|
@AkshatRai07 I was hesitant to label this as |
|
I see what you mean. |
I thought the environment only needed to be defined in the settings, my bad.
Edit: but now I'm not sure how to do it with https://github.com/NNPDF/eko/blob/master/.github/workflows/python-poetry-pypi-with-data.yml tbh